package com.tarim.streetdance.mapper;

import com.tarim.streetdance.model.College;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("CollegeMapper")
public interface CollegeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(College record);

    int insertSelective(College record);

    College selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(College record);

    int updateByPrimaryKey(College record);

    List<College> selectAll(College college);

    List<College> selectForPage(College college);

    Long selectForPageCount(College college);
}